# CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c)

# 
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/*.c)
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra"

# layouts
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/flex/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/grid/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/flex
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/grid

VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/flex
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/grid

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/flex"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/layouts/grid"

# libs
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/bmp/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/ffmpeg/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/freetype/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/fsdrv/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/gif/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/png/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/qrcode/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/rlottie/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/sjpg/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/bmp
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/ffmpeg
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/freetype
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/fsdrv
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/gif
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/png
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/qrcode
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/rlottie
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/sjpg

VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/bmp
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/ffmpeg
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/freetype
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/fsdrv
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/gif
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/png
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/qrcode
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/rlottie
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/sjpg

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/bmp"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/ffmpeg"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/freetype"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/fsdrv"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/gif"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/png"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/qrcode"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/rlottie"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/libs/sjpg"

# others
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/fragment/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/gridnav/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/ime/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/imgfont/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/monkey/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/msg/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/snapshot/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/fragment
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/gridnav
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/ime
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/imgfont
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/monkey
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/msg
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/snapshot

VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/fragment
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/gridnav
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/ime
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/imgfont
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/monkey
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/msg
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/snapshot

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/fragment"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/gridnav"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/ime"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/imgfont"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/monkey"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/msg"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/others/snapshot"

# themes
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/basic/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/default/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/mono/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/basic
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/default
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/mono
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/mono

VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/basic
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/default
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/mono

CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/basic"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/default"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/themes/mono"

# widgets
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/animimg/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/calendar/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/chart/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/colorwheel/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/imgbtn/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/keyboard/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/led/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/list/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/menu/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/meter/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/msgbox/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/span/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinbox/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinner/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tabview/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tileview/*.c)
CSRCS += $(wildcard $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/win/*.c)

DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/animimg
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/calendar
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/chart
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/colorwheel
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/imgbtn
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/keyboard
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/led
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/list
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/menu
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/meter
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/msgbox
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/span
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinbox
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinner
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tabview
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tileview
DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/win

VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/animimg
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/calendar
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/chart
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/colorwheel
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/imgbtn
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/keyboard
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/led
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/list
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/menu
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/meter
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/msgbox
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/span
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinbox
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinner
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tabview
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tileview
VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/win






CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/animimg"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/calendar"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/chart"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/colorwheel"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/imgbtn"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/keyboard"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/led"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/list"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/menu"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/meter"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/msgbox"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/span"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinbox"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/spinner"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tabview"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/tileview"
CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra/widgets/win"

